Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Mar 27, 2025

Motivation:

GRPCClient can throw an error when run is called more than once or if run is called after it has been shutdown. Normally this would happen if a user caller 'run()' more than once, but can also happen if 'withGRPCClient' is called and the client is never used and the body returns quickly.

Modifications:

  • Improve the error message

Result:

Better error message.

Motivation:

GRPCClient can throw an error when run is called more than once or if
run is called after it has been shutdown. Normally this would happen if
a user caller 'run()' more than once, but can also happen if
'withGRPCClient' is called and the client is never used and the body
returns quickly.

Modifications:

- Improve the error message

Result:

Better error message.
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Mar 27, 2025
@glbrntt glbrntt requested a review from FranzBusch March 27, 2025 16:03
@glbrntt glbrntt linked an issue Mar 27, 2025 that may be closed by this pull request
@glbrntt glbrntt enabled auto-merge (squash) March 27, 2025 16:03
@glbrntt glbrntt merged commit edb1ec6 into grpc:main Mar 27, 2025
33 checks passed
@glbrntt glbrntt deleted the v2/with-client branch May 12, 2025 14:21
@rnro rnro mentioned this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

withClient API can hit precondition
2 participants